//

import type { LoginParams, LoginResult } from '@/types/login'
import type { LoginResults } from '@/types/member'
import { http } from '@/utils/http'

// 账号密码登录
export const passwordLoginAPI = (data: LoginParams) => {
  return http<LoginResults>({
    method: 'POST',
    url: '/login',
    data,
  })
}
//
